package com.bdqn.t382.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ElectronicBackups implements Serializable {
    private Integer id; //编号
    private String model;   //型号
    private BigDecimal price; //价格
    private Date time;      //出厂时间

    public ElectronicBackups(Integer id, String model, BigDecimal price, Date time) {
        this.id = id;
        this.model = model;
        this.price = price;
        this.time = time;
    }

    public ElectronicBackups() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
